<?php
useModel("User");
class indexController extends Core_Controller
{
    private $userModel = null;
    public function __construct()
    {
        parent::__construct();
        $this->userModel = new UserModel();
    }

    public function get(){
        $this->view->jsonRespon(true, "List user", $this->userModel->find());
    }
}
